Hi all, How do I change the ordering of values in the pull down tab for an enumerated attribute?
Thanks in advance. :) cron7 - Fri Oct 20 01:15:27 EDT 2017 |
Re: Change ordering of enumeration values The easy way is to do it using the GUI :)
If you want to do it with DXL, use the command modify, as described in the online help modify <b>Declaration</b> AttrType modify(AttrType at, string name, string codes[], int values, int colors, string descs[], [int arrMaps[],] string &errMess) <b>Operation</b> Modifies the supplied attribute type with the corresponding values and descriptions. Can be used to update the descriptions of old enumeration types. The optional arrMaps argument specifies existing index values for enumeration values, taking into consideration their re-ordering. See https://www.ibm.com/developerworks/community/forums/html/topic?id=2a0768d0-bbca-464f-9d62-d0ffa8a024c0 for an example script. The parameter arrMaps that you need for changing teh order is explained by sekrbo in https://www.ibm.com/developerworks/community/forums/html/topic?id=beea6035-1070-47f8-8e07-ba820f95212e#39b70f3d-a593-4e7d-a20e-710c6637163b
|